//package com.bd.schedule.controller;
//
//
//import com.bd.schedule.jobs.Timetask;
//import com.bd.schedule.quartz.QuartzUtil;
//import org.quartz.SchedulerException;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//
//@Configuration
//public class ScheduledQuartzBean {
//
//
//
//    @Bean
//    public void job() throws SchedulerException {
//
////        QuartzUtil.addJob("test","test-job","test-trigger",
////                "test-trigger-group", Timetask.class, "0/5 * * * * ?");
//        QuartzUtil.addJob(Timetask.class, "test","test-trigger", "0/5 * * * * ?");
//    }
//
//}
